package com.wl.springsecuritystudy.config;

import org.springframework.security.core.AuthenticationException;

/**
 * token相关的异常
 *
 * @author baizt
 */
public class TokenException extends AuthenticationException {

    private static final long serialVersionUID = 1L;

    public TokenException(String message) {
        super(message);
    }

    public TokenException(String message, Throwable cause) {
        super(message, cause);
    }
}
